package cn.wei.sdd.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.aspectj.weaver.ast.Not;

/**
 * <p>
 * 回收员审核表
 * </p>
 *
 * @author Wei
 * @since 2021-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Examine对象", description="回收员审核表")
public class Examine implements Serializable {

    private static final long serialVersionUID = 1L;

    //审核状态
    public static final Integer NOT_APPROVED = 0;
    public static final Integer IS_APPROVED = 1;

    @ApiModelProperty(value = "Id")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "userId")
    private Long userId;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "性别（1：男 0：女）")
    private Integer sex;

    @ApiModelProperty(value = "手机号")
    private String mobile;


    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "身份证正面")
    private String idCard1;

    @ApiModelProperty(value = "身份证反面")
    private String idCard2;

    @ApiModelProperty(value = "审核人id")
    private Long reviewer;



    @ApiModelProperty(value = "状态（0：未审核，1：审核中，2：审核通过，-1：审核失败）")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "逻辑删除(1:已删除，0:未删除)")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
